package com.mali.gateway.exception;

import cn.hutool.http.HttpStatus;
import lombok.Getter;

@Getter
public class BizException extends CommonException {
    public BizException(String message) {
        super(HttpStatus.HTTP_INTERNAL_ERROR, message);
    }

    public BizException(String message, Throwable cause) {
        super(HttpStatus.HTTP_INTERNAL_ERROR, message, cause);
    }

    public BizException(Throwable cause) {
        super(HttpStatus.HTTP_INTERNAL_ERROR, cause);
    }

}
